package net.maku.events.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import net.maku.framework.common.utils.DateUtils;
import java.util.Date;

/**
* 用户参与的活动
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-22
*/
@Data
@Schema(description = "用户参与的活动")
public class UserJoinActivityVO implements Serializable {
	private static final long serialVersionUID = 1L;

	@Schema(description = "id")
	private Long id;

	@Schema(description = "用户id")
	private Long userId;

	@Schema(description = "活动id")
	private Long activityId;

	@Schema(description = "活动类型")
	private Integer businessType;

	@Schema(description = "活动开始时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date activityStartTime;

	@Schema(description = "活动结束时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date activityEndTime;

	@Schema(description = "租户ID")
	private Long tenantId;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createTime;

}